package com.shortlink.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shortlink.pojos.dto.req.GroupReqDTO;
import com.shortlink.pojos.dto.req.GroupSortReqDTO;
import com.shortlink.pojos.dto.resp.GroupQueryRespDTO;
import com.shortlink.pojos.entity.GroupDO;

import java.util.List;

public interface IGroupService extends IService<GroupDO> {
    void createGroup(String groupName);

    void createGroup(String groupName,String username);

    void updateGroup(GroupReqDTO groupReqDTO);

    void sortGroup(List<GroupSortReqDTO> groupSortReqDTOList);

    void deleteGroup(String gid);

    List<GroupQueryRespDTO> queryGroup();
}
